package com.inf.es;

import com.inf.vo.ParamsEsQueryVo;
import net.sf.json.JSONObject;
import org.apache.http.HttpEntity;
import org.apache.http.entity.ContentType;
import org.apache.http.nio.entity.NStringEntity;
import org.elasticsearch.client.Response;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;
import java.util.Collections;
import java.util.Map;
import java.util.HashMap;

/**
 * Created by zhangbn on 2018/12/13.
 */
@RestController
@RequestMapping("/personface/es")
public class EsQueryController {

    @RequestMapping("/queryinfos")
    public Object queryInfos(ParamsEsQueryVo esQueryVo) throws IOException {


        return null;
    }
}
